package ch9;

public class Zxf3 {
    public static void main(String[] args) {
        double[] a={1,4,9.8,6.4,7,5,3.6,8.7};
        double b=1;
        for (int i=0;i<a.length;i++){
            b=b*a[i];
        }
        System.out.println(b);
    }
}
